<?php declare(strict_types=1);


namespace App\Model\Entity;

use Swoft\Db\Annotation\Mapping\Column;
use Swoft\Db\Annotation\Mapping\Entity;
use Swoft\Db\Annotation\Mapping\Id;
use Swoft\Db\Eloquent\Model;


/**
 * 入驻品牌表
 * Class EnteredBrand
 *
 * @since 2.0
 *
 * @Entity(table="entered_brand", pool="db2.pool")
 */
class EnteredBrand extends Model
{
    /**
     * 
     * @Id()
     * @Column()
     *
     * @var int
     */
    private $id;

    /**
     * 品牌名称
     *
     * @Column()
     *
     * @var string|null
     */
    private $name;

    /**
     * logo
     *
     * @Column()
     *
     * @var string|null
     */
    private $logo;

    /**
     * icon(标签)
     *
     * @Column(name="tag_type", prop="tagType")
     *
     * @var string|null
     */
    private $tagType;

    /**
     * 简介
     *
     * @Column()
     *
     * @var string|null
     */
    private $intro;

    /**
     * 详细介绍
     *
     * @Column()
     *
     * @var string|null
     */
    private $description;

    /**
     * ins
     *
     * @Column()
     *
     * @var string|null
     */
    private $ins;

    /**
     * youtube
     *
     * @Column()
     *
     * @var string|null
     */
    private $youtube;

    /**
     * twitter
     *
     * @Column()
     *
     * @var string|null
     */
    private $twitter;

    /**
     * 网址url
     *
     * @Column()
     *
     * @var string|null
     */
    private $url;

    /**
     * email
     *
     * @Column()
     *
     * @var string|null
     */
    private $email;

    /**
     * 联系号码
     *
     * @Column()
     *
     * @var string|null
     */
    private $number;

    /**
     * 联系地址
     *
     * @Column()
     *
     * @var string|null
     */
    private $address;

    /**
     * 经度
     *
     * @Column()
     *
     * @var float|null
     */
    private $lon;

    /**
     * 纬度
     *
     * @Column()
     *
     * @var float|null
     */
    private $lat;

    /**
     * 群成员数
     *
     * @Column(name="flock_member_num", prop="flockMemberNum")
     *
     * @var int|null
     */
    private $flockMemberNum;

    /**
     * 0:取消,1:正常
     *
     * @Column()
     *
     * @var int
     */
    private $status;

    /**
     * 排序
     *
     * @Column()
     *
     * @var int
     */
    private $ordid;

    /**
     * 创建时间
     *
     * @Column(name="created_at", prop="createdAt")
     *
     * @var int
     */
    private $createdAt;

    /**
     * 更新时间
     *
     * @Column(name="updated_at", prop="updatedAt")
     *
     * @var int|null
     */
    private $updatedAt;

    /**
     * facebook
     *
     * @Column()
     *
     * @var string|null
     */
    private $facebook;

    /**
     * 国家
     *
     * @Column()
     *
     * @var string|null
     */
    private $nation;

    /**
     * 城市
     *
     * @Column()
     *
     * @var string|null
     */
    private $city;


    /**
     * @param int $id
     *
     * @return void
     */
    public function setId(int $id): void
    {
        $this->id = $id;
    }

    /**
     * @param string|null $name
     *
     * @return void
     */
    public function setName(?string $name): void
    {
        $this->name = $name;
    }

    /**
     * @param string|null $logo
     *
     * @return void
     */
    public function setLogo(?string $logo): void
    {
        $this->logo = $logo;
    }

    /**
     * @param string|null $tagType
     *
     * @return void
     */
    public function setTagType(?string $tagType): void
    {
        $this->tagType = $tagType;
    }

    /**
     * @param string|null $intro
     *
     * @return void
     */
    public function setIntro(?string $intro): void
    {
        $this->intro = $intro;
    }

    /**
     * @param string|null $description
     *
     * @return void
     */
    public function setDescription(?string $description): void
    {
        $this->description = $description;
    }

    /**
     * @param string|null $ins
     *
     * @return void
     */
    public function setIns(?string $ins): void
    {
        $this->ins = $ins;
    }

    /**
     * @param string|null $youtube
     *
     * @return void
     */
    public function setYoutube(?string $youtube): void
    {
        $this->youtube = $youtube;
    }

    /**
     * @param string|null $twitter
     *
     * @return void
     */
    public function setTwitter(?string $twitter): void
    {
        $this->twitter = $twitter;
    }

    /**
     * @param string|null $url
     *
     * @return void
     */
    public function setUrl(?string $url): void
    {
        $this->url = $url;
    }

    /**
     * @param string|null $email
     *
     * @return void
     */
    public function setEmail(?string $email): void
    {
        $this->email = $email;
    }

    /**
     * @param string|null $number
     *
     * @return void
     */
    public function setNumber(?string $number): void
    {
        $this->number = $number;
    }

    /**
     * @param string|null $address
     *
     * @return void
     */
    public function setAddress(?string $address): void
    {
        $this->address = $address;
    }

    /**
     * @param float|null $lon
     *
     * @return void
     */
    public function setLon(?float $lon): void
    {
        $this->lon = $lon;
    }

    /**
     * @param float|null $lat
     *
     * @return void
     */
    public function setLat(?float $lat): void
    {
        $this->lat = $lat;
    }

    /**
     * @param int|null $flockMemberNum
     *
     * @return void
     */
    public function setFlockMemberNum(?int $flockMemberNum): void
    {
        $this->flockMemberNum = $flockMemberNum;
    }

    /**
     * @param int $status
     *
     * @return void
     */
    public function setStatus(int $status): void
    {
        $this->status = $status;
    }

    /**
     * @param int $ordid
     *
     * @return void
     */
    public function setOrdid(int $ordid): void
    {
        $this->ordid = $ordid;
    }

    /**
     * @param int $createdAt
     *
     * @return void
     */
    public function setCreatedAt(int $createdAt): void
    {
        $this->createdAt = $createdAt;
    }

    /**
     * @param int|null $updatedAt
     *
     * @return void
     */
    public function setUpdatedAt(?int $updatedAt): void
    {
        $this->updatedAt = $updatedAt;
    }

    /**
     * @param string|null $facebook
     *
     * @return void
     */
    public function setFacebook(?string $facebook): void
    {
        $this->facebook = $facebook;
    }

    /**
     * @param string|null $nation
     *
     * @return void
     */
    public function setNation(?string $nation): void
    {
        $this->nation = $nation;
    }

    /**
     * @param string|null $city
     *
     * @return void
     */
    public function setCity(?string $city): void
    {
        $this->city = $city;
    }

    /**
     * @return int
     */
    public function getId(): ?int
    {
        return $this->id;
    }

    /**
     * @return string|null
     */
    public function getName(): ?string
    {
        return $this->name;
    }

    /**
     * @return string|null
     */
    public function getLogo(): ?string
    {
        return $this->logo;
    }

    /**
     * @return string|null
     */
    public function getTagType(): ?string
    {
        return $this->tagType;
    }

    /**
     * @return string|null
     */
    public function getIntro(): ?string
    {
        return $this->intro;
    }

    /**
     * @return string|null
     */
    public function getDescription(): ?string
    {
        return $this->description;
    }

    /**
     * @return string|null
     */
    public function getIns(): ?string
    {
        return $this->ins;
    }

    /**
     * @return string|null
     */
    public function getYoutube(): ?string
    {
        return $this->youtube;
    }

    /**
     * @return string|null
     */
    public function getTwitter(): ?string
    {
        return $this->twitter;
    }

    /**
     * @return string|null
     */
    public function getUrl(): ?string
    {
        return $this->url;
    }

    /**
     * @return string|null
     */
    public function getEmail(): ?string
    {
        return $this->email;
    }

    /**
     * @return string|null
     */
    public function getNumber(): ?string
    {
        return $this->number;
    }

    /**
     * @return string|null
     */
    public function getAddress(): ?string
    {
        return $this->address;
    }

    /**
     * @return float|null
     */
    public function getLon(): ?float
    {
        return $this->lon;
    }

    /**
     * @return float|null
     */
    public function getLat(): ?float
    {
        return $this->lat;
    }

    /**
     * @return int|null
     */
    public function getFlockMemberNum(): ?int
    {
        return $this->flockMemberNum;
    }

    /**
     * @return int
     */
    public function getStatus(): ?int
    {
        return $this->status;
    }

    /**
     * @return int
     */
    public function getOrdid(): ?int
    {
        return $this->ordid;
    }

    /**
     * @return int
     */
    public function getCreatedAt(): ?int
    {
        return $this->createdAt;
    }

    /**
     * @return int|null
     */
    public function getUpdatedAt(): ?int
    {
        return $this->updatedAt;
    }

    /**
     * @return string|null
     */
    public function getFacebook(): ?string
    {
        return $this->facebook;
    }

    /**
     * @return string|null
     */
    public function getNation(): ?string
    {
        return $this->nation;
    }

    /**
     * @return string|null
     */
    public function getCity(): ?string
    {
        return $this->city;
    }

}
